import web

urls = (
    '/', 'FrontPage'
    '/admin/', 'admin.Admin'
)
app = web.application(urls, globals())

render = web.template.render('templates/',cache=False)
web.template.Template.globals["render"] = render

class FrontPage:        
    def GET(self):
        return render.front()

if __name__ == "__main__":
    app.run()